package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.Pinpaiguanlian;
import ylsb.model.PinpaiguanlianExample;

public interface PinpaiguanlianMapper {
    List<Map<String, Object>> findPinzhongguanlianList(@Param("xiangmuid") String ppxiangmuId);

    List<Map<String, Object>> findCipinzhongpinpaiList(@Param("xiangmuid") String ppxiangmuId);

    List<Map<String, Object>> findCiguanlianList(@Param("xiangmuid") String ppxiangmuId,
                                                       @Param("pinzhong") String pppinzhong,
                                                       @Param("pinpai") String pppinpai);

    int countByExample(PinpaiguanlianExample example);

    int deleteByExample(PinpaiguanlianExample example);

    int deleteByPrimaryKey(String id);

    int insert(Pinpaiguanlian record);

    int insertSelective(Pinpaiguanlian record);

    List<Pinpaiguanlian> selectByExample(PinpaiguanlianExample example);

    Pinpaiguanlian selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Pinpaiguanlian record, @Param("example") PinpaiguanlianExample example);

    int updateByExample(@Param("record") Pinpaiguanlian record, @Param("example") PinpaiguanlianExample example);

    int updateByPrimaryKeySelective(Pinpaiguanlian record);

    int updateByPrimaryKey(Pinpaiguanlian record);
}